home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / X11R4 / cmds / X / include / RCS / pixmapstr.h,v < prev    next >
Encoding:
Text File  |  1990-02-15  |  2.2 KB  |  84 lines

  1. head     1.1;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.1
  10. date     90.02.14.16.17.28;  author tve;  state Exp;
  11. branches ;
  12. next     ;
  13.  
  14.  
  15. desc
  16. @Original X11R4 distribution
  17. @
  18.  
  19.  
  20.  
  21. 1.1
  22. log
  23. @Initial revision
  24. @
  25. text
  26. @/* $XConsortium: pixmapstr.h,v 5.0 89/06/09 15:00:35 keith Exp $ */
  27. /***********************************************************
  28. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
  29. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  30.  
  31.                         All Rights Reserved
  32.  
  33. Permission to use, copy, modify, and distribute this software and its 
  34. documentation for any purpose and without fee is hereby granted, 
  35. provided that the above copyright notice appear in all copies and that
  36. both that copyright notice and this permission notice appear in 
  37. supporting documentation, and that the names of Digital or MIT not be
  38. used in advertising or publicity pertaining to distribution of the
  39. software without specific, written prior permission.  
  40.  
  41. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  42. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  43. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  44. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  45. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  46. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  47. SOFTWARE.
  48.  
  49. ******************************************************************/
  50.  
  51. #ifndef PIXMAPSTRUCT_H
  52. #define PIXMAPSTRUCT_H
  53. #include "pixmap.h"
  54. #include "screenint.h"
  55. #include "miscstruct.h"
  56.  
  57. typedef struct _Drawable {
  58.     unsigned char    type;    /* DRAWABLE_<type> */
  59.     unsigned char    class;    /* specific to type */
  60.     unsigned char    depth;
  61.     unsigned char    bitsPerPixel;
  62.     unsigned long    id;    /* resource id */
  63.     short        x;    /* window: screen absolute, pixmap: 0 */
  64.     short        y;    /* window: screen absolute, pixmap: 0 */
  65.     unsigned short    width;
  66.     unsigned short    height;
  67.     ScreenPtr        pScreen;
  68.     unsigned long    serialNumber;
  69. } DrawableRec;
  70.  
  71. /*
  72.  * PIXMAP -- device dependent 
  73.  */
  74.  
  75. typedef struct _Pixmap {
  76.     DrawableRec        drawable;
  77.     int            refcnt;
  78.     int            devKind;
  79.     DevUnion        devPrivate;
  80. } PixmapRec;
  81.  
  82. #endif /* PIXMAPSTRUCT_H */
  83. @
  84.